×

dynamic scoping造句

"dynamic scoping"是什么意思   

例句与造句

  1. Secondly, accessing variables under dynamic scoping is generally slower than under lexical scoping.
  2. It used dynamic scoping, not by choice but because nobody involved understood scoping.
  3. However, dynamic scoping has several disadvantages.
  4. Dynamic scoping is fairly easy to implement.
  5. In dynamic scoping, if a programmer declares a variable within the scope of a function, it is available to subroutines called from within that function.
  6. It's difficult to find dynamic scoping in a sentence. 用dynamic scoping造句挺难的
  7. Common Lisp adopted lexical scoping from Scheme, as did Clojure, but some other dialects of Lisp, like Emacs Lisp, still use dynamic scoping.
  8. Since dynamic scoping is less common today, the Perl documentation warns that " local isn't what most people think of as  local . ".
  9. Dynamic scoping provides an excellent abstraction for thread local storage, but if it is used that way it cannot be based on saving and restoring a global variable.
  10. Most modern languages use lexical scoping for variables and functions, though dynamic scoping is used in some languages, notably some dialects of Lisp, some " scripting " languages like Perl, and some template languages.
  11. Originally, this was intended as an optimization; lexical scoping was still uncommon and of uncertain performance . " I asked RMS when he was implementing emacs lisp why it was dynamically scoped and his exact reply was that lexical scope was too inefficient . " Dynamic scoping was also meant to provide greater flexibility for user customizations.
  12. The macro language itself only transforms the source code, without resolving names, but since the expansion is done in place, when the names in the expanded text are then resolved ( notably free variables ), they are resolved based on where they are expanded ( loosely " called " ), as if dynamic scoping were occurring.
  13. By contrast, if this language uses dynamic scoping, then g prints and modifies f's local variable x ( because g is called from within f ), so the program prints 3 and then 1 . ( As it happens, the language of the program is Bash, which uses dynamic scoping; so the program prints 3 and then 1 .)
  14. By contrast, if this language uses dynamic scoping, then g prints and modifies f's local variable x ( because g is called from within f ), so the program prints 3 and then 1 . ( As it happens, the language of the program is Bash, which uses dynamic scoping; so the program prints 3 and then 1 .)
  15. By contrast, in dynamic scoping, the scope extends to the " runtime context " of the function : local variables " stay in context " when another function is called, only moving out of context when the defining function ends, and thus local variables are in context of the function in which they are defined " and all called functions ".
  16. By contrast, in " dynamic scoping " ( or " dynamic scope " ), if a variable name's scope is a certain function, then its scope is the time-period during which the function is executing : while the function is running, the variable name exists, and is bound to its value, but after the function returns, the variable name does not exist.
  17. 更多例句:  下一页

相邻词汇

  1. "dynamic scene analysis"造句
  2. "dynamic scheduling"造句
  3. "dynamic schema"造句
  4. "dynamic science fiction"造句
  5. "dynamic scope"造句
  6. "dynamic scoring"造句
  7. "dynamic scraped surface heat exchanger"造句
  8. "dynamic scraped surface heat exchangers"造句
  9. "dynamic sea surface topography"造句
  10. "dynamic seal"造句
桌面版繁體版English日本語

Copyright © 2025 WordTech Co.

Last modified time:Mon, 18 Aug 2025 00:29:56 GMT